nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sally <salome.tkhilaishv...@gmail.com>
Subject Nifi:How can i remove “.” from “.filename” in nifi custom processor
Date Thu, 05 Oct 2017 10:26:05 GMT

I have send updated file to directory used a logic of putFile but it save
file as i ".filenam.xml" and can't get it by getFile Processor how can
remove "." from this file, i have read that putFile makes it automatically i
mean adding dot in front of flowfile name, but how can i remove this dot? 
final Path tempCopyFile =
rootDirPath.resolve("."+flowFile.getAttribute(CoreAttributes.FILENAME.key()));
this is how it works in putFile how can i make same in my proessor without
adding "." to filename?



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Mime
View raw message